package com.itheima.job;

import java.util.Random;

public class MyRunnable  implements Runnable{
    @Override
    public void run() {
        Random ran = new Random();
        int number =0;

        for (int i = 0; i < 10; i++) {
            number += ran.nextInt(901) + 100;
        }
        System.out.println(number);
    }
}
